/*CodeBuilder v1.0.4 by 2022/2/27 0:10:39 */
using System;
using ASmile.ORM.Entitys;

namespace ASmile.DBModel
{
	public partial class VLog_Http : EntityBase
	{
		private System.Int32 _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(CNId, 0, true, IsPrimaryKey = true, IsIdentity = true)]
		public System.Int32 Id
		{
			get { return _Id; }
			set
			{
				if (!OnPropertyChanged(CNId, _Id, value)) return;
				_Id = value;
				SetFieldChanged(CNId) ;
			}
		}

		private System.DateTime _LogTime;
		/// <summary>
		/// LogTime
		/// </summary>
		[Entity(CNLogTime, 1, true)]
		public System.DateTime LogTime
		{
			get { return _LogTime; }
			set
			{
				if (!OnPropertyChanged(CNLogTime, _LogTime, value)) return;
				_LogTime = value;
				SetFieldChanged(CNLogTime) ;
			}
		}

		private System.Int32 _Interval;
		/// <summary>
		/// Interval
		/// </summary>
		[Entity(CNInterval, 2, true)]
		public System.Int32 Interval
		{
			get { return _Interval; }
			set
			{
				if (!OnPropertyChanged(CNInterval, _Interval, value)) return;
				_Interval = value;
				SetFieldChanged(CNInterval) ;
			}
		}

		private System.String _AddHost;
		/// <summary>
		/// AddHost
		/// </summary>
		[Entity(CNAddHost, 3)]
		public System.String AddHost
		{
			get { return _AddHost; }
			set
			{
				if (!OnPropertyChanged(CNAddHost, _AddHost, value)) return;
				_AddHost = value;
				SetFieldChanged(CNAddHost) ;
			}
		}

		private System.String _Path;
		/// <summary>
		/// Path
		/// </summary>
		[Entity(CNPath, 4)]
		public System.String Path
		{
			get { return _Path; }
			set
			{
				if (!OnPropertyChanged(CNPath, _Path, value)) return;
				_Path = value;
				SetFieldChanged(CNPath) ;
			}
		}

		private System.String _ReqMethod;
		/// <summary>
		/// ReqMethod
		/// </summary>
		[Entity(CNReqMethod, 5, true)]
		public System.String ReqMethod
		{
			get { return _ReqMethod; }
			set
			{
				if (!OnPropertyChanged(CNReqMethod, _ReqMethod, value)) return;
				_ReqMethod = value;
				SetFieldChanged(CNReqMethod) ;
			}
		}

		private System.Int32 _ReqLength;
		/// <summary>
		/// ReqLength
		/// </summary>
		[Entity(CNReqLength, 6, true)]
		public System.Int32 ReqLength
		{
			get { return _ReqLength; }
			set
			{
				if (!OnPropertyChanged(CNReqLength, _ReqLength, value)) return;
				_ReqLength = value;
				SetFieldChanged(CNReqLength) ;
			}
		}

		private System.Int32 _RepStatus;
		/// <summary>
		/// RepStatus
		/// </summary>
		[Entity(CNRepStatus, 7, true)]
		public System.Int32 RepStatus
		{
			get { return _RepStatus; }
			set
			{
				if (!OnPropertyChanged(CNRepStatus, _RepStatus, value)) return;
				_RepStatus = value;
				SetFieldChanged(CNRepStatus) ;
			}
		}

		private System.String _AddUser;
		/// <summary>
		/// AddUser
		/// </summary>
		[Entity(CNAddUser, 8)]
		public System.String AddUser
		{
			get { return _AddUser; }
			set
			{
				if (!OnPropertyChanged(CNAddUser, _AddUser, value)) return;
				_AddUser = value;
				SetFieldChanged(CNAddUser) ;
			}
		}

		private System.Int32 _RetCode;
		/// <summary>
		/// RetCode
		/// </summary>
		[Entity(CNRetCode, 9, true)]
		public System.Int32 RetCode
		{
			get { return _RetCode; }
			set
			{
				if (!OnPropertyChanged(CNRetCode, _RetCode, value)) return;
				_RetCode = value;
				SetFieldChanged(CNRetCode) ;
			}
		}

		private System.String _RetMsg;
		/// <summary>
		/// RetMsg
		/// </summary>
		[Entity(CNRetMsg, 10)]
		public System.String RetMsg
		{
			get { return _RetMsg; }
			set
			{
				if (!OnPropertyChanged(CNRetMsg, _RetMsg, value)) return;
				_RetMsg = value;
				SetFieldChanged(CNRetMsg) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNLogTime = "LogTime";
		public const string CNInterval = "Interval";
		public const string CNAddHost = "AddHost";
		public const string CNPath = "Path";
		public const string CNReqMethod = "ReqMethod";
		public const string CNReqLength = "ReqLength";
		public const string CNRepStatus = "RepStatus";
		public const string CNAddUser = "AddUser";
		public const string CNRetCode = "RetCode";
		public const string CNRetMsg = "RetMsg";
		#endregion

	}
}
